package com.ym.im.service.group.service;


import com.ym.im.common.ResponseVO;
import com.ym.im.service.group.model.req.*;

public interface ImGroupService {

    public ResponseVO importGroup(ImportGroupReq req);

    public ResponseVO getGroup(String groupId, Integer appId);

    public ResponseVO updateGroupInfo(UpdateGroupReq req);

    public ResponseVO createGroup(CreateGroupReq req);
    public ResponseVO getGroupInfo(GetGroupInfoReq req);
    public ResponseVO getJoinedGroup(GetJoinedGroupReq req);


    /**
     * 解散群聊
     * @param req
     * @return
     */
    ResponseVO destroyGroup(DestroyGroupReq req);

    /**
     * 转移群主
     * @param req
     * @return
     */
    ResponseVO transferGroup(TransferGroupReq req);

    public ResponseVO muteGroup(MuteGroupReq req);
}
